<?php
return [
    // 服务端配置
    'server' => [
        'server' => [
            'host' => '127.0.0.1',
            'port' => 8091,
            'sockType' => SWOOLE_SOCK_TCP,
            'SwConfig' => [
                'open_eof_check' => true,
                'package_eof' => PHP_EOL,
                'open_eof_split' => true
            ]
        ],
        'tunnel' => [
            'host' => '127.0.0.1',
            'port' => 8092,
            'sockType' => SWOOLE_SOCK_TCP,
            'SwConfig' => []
        ],
        'listen' => [
            'host' => '127.0.0.1',
            'port' => 8090,
            'sockType' => SWOOLE_SOCK_TCP,
            'SwConfig' => []
        ]
    ],
    // 客户端配置
    'client' => [
        'server' => [
            'host' => '127.0.0.1',
            'port' => 8091
        ],
        'tunnel' => [
            'host' => '127.0.0.1',
            'port' => 8092
        ],
        'local' => [
            'host' => '127.0.0.1',
            'port' => 8080
        ],
        'sockType' => SWOOLE_SOCK_TCP,
        'SwConfig' => [
            'open_eof_check' => true,
            'package_eof' => PHP_EOL,
            'open_eof_split' => true
        ]
    ]
];
